<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>{$html_title}</title>
        <meta name="keywords" content="{$seo_keywords}" />
        <meta name="description" content="{$seo_description}" />

        <link href="{$Think.DELIVERY_SITE_ROOT}/css/common.css" rel="stylesheet" type="text/css">
        <link href="{$Think.PLUGINS_SITE_ROOT}/js/jquery-ui/jquery-ui.min.css" rel="stylesheet" type="text/css">
        <script>
            var BASESITEROOT = "{$Think.BASE_SITE_ROOT}";
            var HOMESITEROOT = "{$Think.HOME_SITE_ROOT}";
            var BASESITEURL = "{$Think.BASE_SITE_URL}";
            var HOMESITEURL = "{$Think.HOME_SITE_URL}";
        </script>
        <script src="{$Think.PLUGINS_SITE_ROOT}/jquery-2.1.4.min.js"></script>
        <script src="{$Think.PLUGINS_SITE_ROOT}/common.js"></script>
        <script src="{$Think.DELIVERY_SITE_ROOT}/js/common.js"></script>
        <script src="{$Think.PLUGINS_SITE_ROOT}/jquery.validate.min.js"></script>
        <script src="{$Think.PLUGINS_SITE_ROOT}/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
        <script src="{$Think.PLUGINS_SITE_ROOT}/js/jquery-ui/jquery-ui.min.js"></script>
        <script src="{$Think.PLUGINS_SITE_ROOT}/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
    </head>
    <body style="background-color: #F0F0E1;">
        <div id="append_parent"></div>
        <div id="ajaxwaitid"></div>
        <header class="dsdelivery-header">
            <div class="wrapper">
                <h1 class="dsdelivery-logo"><i></i>自提服务站</h1>
                <form method="get" action="{:url('Manage/index')}">
                    {if $Request.get.hidden_success == 1}
                    <input type="hidden" name="hidden_success" value="1">
                    {/if}
                    <div class="dsdelivery-search" id="dsdeliverySearch">
                        <div class="dsdelivery-search-box">
                            <label>输入订单号/运单号/手机号进行查询</label>
                            <input type="text" class="dsdelivery-search-text" name="search_name" value="{$search_name|default=''}">
                        </div>
                        <input type="submit" class="dsdelivery-search-submit" value="搜索">
                    </div>
                </form>
                <div class="dsdelivery-user">
                    <h3>Hi！<strong>{$Think.session.dlyp_name}</strong>，欢迎回到管理中心</h3>
                    <ul>
                        <li><a href="javascript:void(0);" onclick="javascript:ajax_form('information', '详细资料', '{$Think.DELIVERY_SITE_URL}/Manage/information.html');">详细资料</a></li>
                        <li><a href="javascript:void(0);" onclick="javascript:ajax_form('change_password', '修改密码', '{$Think.DELIVERY_SITE_URL}/Manage/change_password.html')">修改密码</a></li>
                        <li><a href="javascript:void(0);" onclick="javascript:ds_ajaxget('{$Think.DELIVERY_SITE_URL}/Login/logout.html');">安全退出</a></li>
                    </ul>
                </div>
            </div>
        </header>
        {block name="manage_main"}{/block}
        {block name="footer"}{include file='base/footer'/}{/block}
    </body>
    <script>
        //input焦点时隐藏/显示填写内容提示信息
        $("#dsdeliverySearch .dsdelivery-search-text").each(function () {
            var thisVal = $(this).val();
            if (thisVal != "") {
                $(this).siblings("label").hide();
            } else {
                $(this).siblings("label").show();
            }
            $(this).keyup(function () {
                var val = $(this).val();
                $(this).siblings("label").hide();
            }).blur(function () {
                var val = $(this).val();
                if (val != "") {
                    $(this).siblings("label").hide();
                } else {
                    $(this).siblings("label").show();
                }
            });
        });
    </script>
</html>